﻿using MySql.Data.EntityFrameworkCore.DataAnnotations;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;

namespace MyMusicList.DBModel
{
    [MySqlCharset("utf8mb4")] //字符集,需要引用MySql.Data.EntityFrameworkCore
    [MySqlCollation("utf8mb4_general_ci")] //排序规则
    [Table("sys_music_type", Schema = "mymusic")]
    public class Sys_Music_Type
    {
        [Key]
        //[NotMapped]
        public int Sys_Music_Type_Id { get; set; }

        public string Sys_Music_Type_Name { get; set; }

        public DateTime? Create_time { get; set; }

        /// <summary>
        /// 是否标记删除
        /// </summary>
        public bool IsDel { get; set; }
    }
}
